import 'package:flutter/material.dart';

import '../ui/consult/page_one_click_consult.dart';
import '../ui/home/page_home.dart';
import '../ui/personalCenter/page_pay_wait.dart';
import '../ui/personalCenter/page_personal_center.dart';

/// 
/// @Description 
/// @Author WuJianFeng
/// @Date 2024/3/19 17:13
/// 
const String routerHomePage       = "HomePage";
const String routerPersonalCenter = "PersonalCenter";
const String routerPayWait        = "PayWait";
const String routerOneClickConsult= "OneClickConsult";
class NavRouter{

  Map<String, WidgetBuilder> getRouter(BuildContext context){
    return {
      routerHomePage: (context)       => const HomePage(),
      routerPersonalCenter: (context) => const PersonalCenter(),
      routerPayWait: (context)        => const PayWait(),
      routerOneClickConsult: (context)=> const OneClickConsult(),
    };
  }

}
 
 